<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.qijia.travel.common.Constants;"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

Object userKey = session.getAttribute(Constants.USER_KEY);
if(userKey==null){
response.sendRedirect(basePath+"index.jsp");
RequestDispatcher rd = request.getRequestDispatcher(basePath+"index.jsp");
rd.forward(request, response);
}else{
%>
<div id="RD_topCon">
        <div id="top_control">
	        <div id="comp_logo"></div>
	        <div class="textCon">
		        <div class="txt_links"></div>
            </div>
        </div>
        <div id="RD_MenuCon">
            <ul id="RD_menu">
                <div id="RD_menuItem_PerInfo_subMenu" class="RD_subMenu_outer">
                    <ul>
                        <li class="out"><a href="<%=basePath%>baseInfo/ModifyInfo.jsp"><span>个人资料修改</span></a></li>
                        <li class="out"><a href="<%=basePath%>baseInfo/ModifyPwd.jsp"><span>修改密码</span></a></li>
                    </ul>
                </div>
                <div id="RD_menuItem_BasicInfo_subMenu" class="RD_subMenu_outer">
                    <ul>
                        <li class="out"><a href="<%=basePath%>baseInfo/statusManage.jsp"><span>状态信息管理</span></a></li>
                        <li class="out"><a href="<%=basePath%>baseInfo/treamManage.jsp"><span>团队信息管理</span></a></li>
                        <li class="out"><a href="<%=basePath%>baseInfo/groupManage.jsp"><span>旅行社信息管理</span></a></li>
                    </ul>
                </div>
                <div id="RD_menuItem_JobsMgr_subMenu" class="RD_subMenu_outer">
                    <ul>
                        <li class="out"><a href="<%=basePath%>baseInfo/guideManage.jsp"><span>导游状态管理</span></a></li>
                        <li class="out"><a href="<%=basePath%>work/tourist.jsp"><span>排团管理</span></a></li>
                        <li class="out"><a href="<%=basePath%>work/consumption.jsp"><span>团消费管理</span></a></li>
                    </ul>
                </div>
                <div id="RD_menuItem_TalentLib_subMenu" class="RD_subMenu_outer">
                    <ul>
                        <li class="out"><a href="<%=basePath%>work/expenditure.jsp"><span>公司收支管理</span></a></li>
                        <li class="out"><a href="<%=basePath%>work/statistics.jsp"><span>组员效益信息</span></a></li>
                    </ul>
                </div>
               <div id="RD_menuItem_config_Popup" class="popupMoreMenuItems" onclick="event.cancelBubble=true;">
                    <ul class="configMenu">
                        <li class="configMenuItem IconCompanyInfo"><span>系统设置</span>
                            <ul class="configSubMenu">
                                <li class="configSubMenuItem"><a href="<%=basePath%>baseInfo/ModifyPwd.jsp">修改密码</a></li>
                                <li class="configSubMenuItem"><a href="<%=basePath%>baseInfo/doLogout.jsp">安全退出</a></li>
                            </ul>
						</li>
                    </ul>
               </div>
               <div id="RD_menuItem_config_Anim" class="RD_menuMoreItems_anim"></div>
               <li class="RD_menuSeparator_first"></li>
               <li id="RD_menuItem_home" class="RD_menuItem out"><a href="<%=basePath%>baseInfo/home.jsp">后台首页</a></li>
               <li class="RD_menuSeparator"></li>
               <li id="RD_menuItem_PerInfo" class="RD_menuItem out"><a href="<%=basePath%>baseInfo/ModifyInfo.jsp">个人资料管理</a></li>
               <li class="RD_menuSeparator"></li>
               <li id="RD_menuItem_BasicInfo" class="RD_menuItem out"><a href="<%=basePath%>baseInfo/statusManage.jsp">基本资料管理</a></li>
               <li class="RD_menuSeparator"></li>
               <li id="RD_menuItem_JobsMgr" class="RD_menuItem out"><a href="<%=basePath%>work/tourist.jsp">排团管理</a></li>
               <li class="RD_menuSeparator"></li>
               <li id="RD_menuItem_TalentLib" class="RD_menuItem out"><a href="<%=basePath%>work/statistics.jsp">财务管理</a></li>
               <li class="RD_menuSeparator"></li>
               <li class="RD_menuSeparator_last"></li>
               <li id="RD_menuItem_config" class="out"><a href="javascript:void(0)"><span>控制面板</span></a></li>
               <li class="RD_menuSeparator_config"></li>
            </ul>
            <script language="javascript" type="text/javascript" src="../js/jjr_topMenu.js"></script>
            <script language="javascript" type="text/javascript"> 
            var enterConfig = animPopupDiv_init('RD_menuItem_config','right',10,5);
            </script>
        </div>
    </div>
    <%
    }
    %>